package org.jeecg.modules.stOrder.vo;

import java.util.List;
import org.jeecg.modules.stOrder.entity.HtStOrder;
import org.jeecg.modules.stOrder.entity.HtStOrderDetail;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 食堂订单
 * @Author: jeecg-boot
 * @Date:   2020-06-01
 * @Version: V1.0
 */
@Data
@ApiModel(value="ht_st_orderPage对象", description="食堂订单")
public class HtStOrderPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
	private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
	@Excel(name = "窗口", width = 15)
	@ApiModelProperty(value = "窗口")
	private String chuangkId;
	/**订单号*/
	@Excel(name = "订单号", width = 15)
	@ApiModelProperty(value = "订单号")
	private String orderno;
	/**客户编号*/
	@Excel(name = "客户编号", width = 15)
	@ApiModelProperty(value = "客户编号")
	private String customerid;
	/**客户手机*/
	@Excel(name = "客户手机", width = 15)
	@ApiModelProperty(value = "客户手机")
	private String mobile;
	/**订单状态*/
	@Excel(name = "订单状态", width = 15)
	@ApiModelProperty(value = "订单状态")
	private String status;
	/**合计金额*/
	@Excel(name = "合计金额", width = 15)
	@ApiModelProperty(value = "合计金额")
	private String mony;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private Date createTime;

    /**预约时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "预约时间")
    private Date orderTime;

    /**预约餐点*/
    @ApiModelProperty(value = "预约餐点")
    private String foodWay;
	
	@ExcelCollection(name="订单详情")
	@ApiModelProperty(value = "订单详情")
	private List<HtStOrderDetail> htStOrderDetailList;
	@Excel(name = "营区", width = 15)
	@ApiModelProperty(value = "营区")
	private String yingqId;
	@Excel(name = "食堂", width = 15)
	@ApiModelProperty(value = "食堂")
	private String shitId;
	// 支付方式
	String payWay;
	
}
